package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.model.album.AlbumStat;
import com.atguigu.tingshu.model.search.AlbumInfoIndex;
import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexSearchVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.util.List;

public interface SearchService {

    // 专辑上架接口
    public abstract void upperAlbum(Long albumId);

    // 专辑下架接口
    public abstract void lowerAlbum(Long albumId);

    // 专辑搜索接口
    public abstract AlbumSearchResponseVo search(AlbumIndexQuery albumIndexQuery);

    public abstract List<AlbumInfoIndexSearchVo> channel(Long c1Id);

    public abstract List<String> completeSuggest(String keyword);

    public abstract void albumStatSync(AlbumStat albumStat);

    public abstract void updateLatelyAlbumRanking();

    public abstract List<AlbumInfoIndex> findRankingList(Long category1Id, String dimension);
}
